namespace NHibernateMappingSample.Entities
{
	// data object class SalesOrderDetail generated from SalesOrderDetail
	// shvadskd [2008-10-20] Created

	using System;

	public  class SalesOrderDetail 
	{

		#region Property_Names

		public static string Prop_SalesOrder = "SalesOrder";
		public static string Prop_SalesOrderDetailID = "SalesOrderDetailID";
		public static string Prop_OrderQty = "OrderQty";
		public static string Prop_Product = "Product";
		public static string Prop_UnitPrice = "UnitPrice";
		public static string Prop_UnitPriceDiscount = "UnitPriceDiscount";
		public static string Prop_LineTotal = "LineTotal";
		public static string Prop_rowguid = "rowguid";
		public static string Prop_ModifiedDate = "ModifiedDate";

		#endregion

		#region Constructors

		public SalesOrderDetail()
		{
		}

		public SalesOrderDetail(
			SalesOrderHeader p_salesorderid,
			int p_salesorderdetailid,
			short p_orderQty,
			Product p_product,
			System.Decimal p_unitPrice,
			System.Decimal p_unitPriceDiscount,
			System.Decimal p_lineTotal,
			byte[] p_rowguid,
			DateTime p_modifiedDate)
		{
			ParentOrder = p_salesorderid;
			SalesOrderDetailID = p_salesorderdetailid;
			OrderQty = p_orderQty;
			Product = p_product;
			UnitPrice = p_unitPrice;
			UnitPriceDiscount = p_unitPriceDiscount;
			LineTotal = p_lineTotal;
			rowguid = p_rowguid;
			ModifiedDate = p_modifiedDate;
		}

		#endregion

		#region Properties

		public virtual SalesOrderHeader ParentOrder
		{
			get; set;
		}
		public virtual int SalesOrderDetailID
		{
			get; set;
		}
		public virtual short OrderQty
		{
			get; set;
		}
		public virtual Product Product
		{
			get; set;
		}
		public virtual System.Decimal UnitPrice
		{
			get; set;
		}
		public virtual System.Decimal UnitPriceDiscount
		{
			get; set;
		}
		public virtual System.Decimal LineTotal
		{
			get; set;
		}
		public virtual byte[] rowguid
		{
			get; set;
		}
		public virtual DateTime ModifiedDate
		{
			get; set;
		}
		#endregion
	} // SalesOrderDetail
}

